import { createRouter, createWebHashHistory } from 'vue-router'
import Import from '@renderer/views/Import/index.vue'
import ImageProcess from '@renderer/views/ImageProcess/index.vue'
import SplicingProcessing from '@renderer/views/SplicingProcessing/index.vue'
import Export from '@renderer/views/Export/index.vue'

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      name: 'import',
      component: Import
    },
    {
      path: '/image-process',
      name: 'image_process',
      component: ImageProcess
    },
    {
      path: '/splicing-processing',
      name: 'splicing_processing',
      component: SplicingProcessing
    },
    {
      path: '/export',
      name: 'export',
      component: Export
    },
  ]
})

export default router
